package com.example.demo;

import com.example.demo.src.AppContext;

/**
 * Created by Easettle
 * Date:2020-12-19 12:58
 * Email:easettle@qq.com
 * 状态模式实现登录和收藏、评论
 */
public class StateMachinePatternApplication {

    public static void main(String[] args) {
        AppContext appContext = new AppContext();
        appContext.favorite();
        appContext.comment("评论：测试好文章,给力");
    }
}
